<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>js词云</title>
    <style>
        html, body, .test{
            width: 100%;
            height: 100%;
            position: relative;
        }
        #chart, #chart2 {
            width: 500px;
            height: 500px;
            margin: 0 auto
        }
    </style>
</head>
<body>
    <div class="test">
        <div id="chart"></div>
        <div id="chart2"></div>
    </div>
    <script src="../../node_modules/b2wordcloud/dist/b2wordcloud.js"></script>
    <script src='./index.js' type='module'></script>
</body>
</html>